#include <stdio.h>
#include <stdlib.h>

#define MAXP 2828

int main () {
	int i, j, n=1;
	
	printf ("int primes[]={2,");
	for (i = 3; i < MAXP; i++) {
		for (j = 2; j < i, (i % j != 0); j++);
		if (j >= i) {
			printf (",%d", i);
			n++;
		}
	}
	printf (" %d\n", n);
	return 0;
}
